from django.urls import path, include
from rest_framework.routers import DefaultRouter
from .views.category import CategoryViewSet
from .views.document import DocumentViewSet
from .views.tag import TagViewSet

router = DefaultRouter()
router.register(r'categories', CategoryViewSet)
router.register(r'documents', DocumentViewSet)
router.register(r'tags', TagViewSet)

app_name = 'core'

urlpatterns = [
    path('', include(router.urls)),
] 